TARGET := cpu_nbody

.PHONY: all build clean local longhorn

all: longhorn

local:
	g++ -O3 ${TARGET}.cpp -o ${TARGET}

longhorn:
	g++ -O3 ${TARGET}.cpp -o ${TARGET} -I$$TACC_PAPI_INC -L$$TACC_PAPI_LIB -lpapi

clean:
	-rm ${TARGET}